package com.itheima.design.mode.jdk_proxy;

/**
 * 使用者
 */
public class TuHao {

    private float length;

    public TuHao(float length) {
        super();
        this.length = length;
    }

    public float getLength() {
        return length;
    }

    public void setLength(float length) {
        this.length = length;
    }

    //约会
    public void dating(Girl girl){
        girl.dating(length);
    }
}
